struct ColTable
{
	LPTSTR		szName;
	COLORREF	colVal;
};
static ColTable g_ColTable[] = 
{
	{TEXT("AliceBlue")           ,RGB(240,248,255)},
	{TEXT("AntiqueWhite")        ,RGB(250,235,215)},
	{TEXT("Aqua")                ,RGB(  0,255,255)},
	{TEXT("Aquamarine")          ,RGB(127,255,212)},
	{TEXT("Azure")               ,RGB(240,255,255)},
	{TEXT("Beige")               ,RGB(245,245,220)},
	{TEXT("Bisque")              ,RGB(255,228,196)},
	{TEXT("Black")               ,RGB(  0,  0,  0)},
	{TEXT("BlanchedAlmond")      ,RGB(255,255,205)},
	{TEXT("Blue")                ,RGB(  0,  0,255)},
	{TEXT("BlueViolet")          ,RGB(138, 43,226)},
	{TEXT("Brown")               ,RGB(165, 42, 42)},
	{TEXT("Burlywood")           ,RGB(222,184,135)},
	{TEXT("CadetBlue")           ,RGB( 95,158,160)},
	{TEXT("Chartreuse")          ,RGB(127,255,  0)},
	{TEXT("Chocolate")           ,RGB(210,105, 30)},
	{TEXT("Coral")               ,RGB(255,127, 80)},
	{TEXT("CornflowerBlue")      ,RGB(100,149,237)},
	{TEXT("Cornsilk")            ,RGB(255,248,220)},
	{TEXT("Crimson")             ,RGB(220, 20, 60)},
	{TEXT("Cyan")                ,RGB(  0,255,255)},
	{TEXT("DarkBlue")            ,RGB(  0,  0,139)},
	{TEXT("DarkCyan")            ,RGB(  0,139,139)},
	{TEXT("DarkGoldenRod")       ,RGB(184,134, 11)},
	{TEXT("DarkGray")            ,RGB(169,169,169)},
	{TEXT("DarkGreen")           ,RGB(  0,100,  0)},
	{TEXT("DarkKhaki")           ,RGB(189,183,107)},
	{TEXT("DarkMagenta")         ,RGB(139,  0,139)},
	{TEXT("DarkOliveGreen")      ,RGB( 85,107, 47)},
	{TEXT("DarkOrange")          ,RGB(255,140,  0)},
	{TEXT("DarkOrchid")          ,RGB(153, 50,204)},
	{TEXT("DarkRed")             ,RGB(139,  0,  0)},
	{TEXT("DarkSalmon")          ,RGB(233,150,122)},
	{TEXT("DarkSeaGreen")        ,RGB(143,188,143)},
	{TEXT("DarkSlateBlue")       ,RGB( 72, 61,139)},
	{TEXT("DarkSlateGray")       ,RGB( 47, 79, 79)},
	{TEXT("DarkTurquoise")       ,RGB(  0,206,209)},
	{TEXT("DarkViolet")          ,RGB(148,  0,211)},
	{TEXT("DeepPink")            ,RGB(255, 20,147)},
	{TEXT("DeepSkyBlue")         ,RGB(  0,191,255)},
	{TEXT("DimGray")             ,RGB(105,105,105)},
	{TEXT("DodgerBlue")          ,RGB( 30,144,255)},
	{TEXT("FireBrick")           ,RGB(178, 34, 34)},
	{TEXT("FloralWhite")         ,RGB(255,250,240)},
	{TEXT("ForestGreen")         ,RGB( 34,139, 34)},
	{TEXT("Fuchsia")             ,RGB(255,  0,255)},
	{TEXT("Gainsboro")           ,RGB(220,220,220)},
	{TEXT("GhostWhite")          ,RGB(248,248,255)},
	{TEXT("Gold")                ,RGB(255,215,  0)},
	{TEXT("GoldenRod")           ,RGB(218,165, 32)},
	{TEXT("Gray")                ,RGB(127,127,127)},
	{TEXT("Green")               ,RGB(  0,128,  0)},
	{TEXT("GreenYellow")         ,RGB(173,255, 47)},
	{TEXT("HoneyDew")            ,RGB(240,255,240)},
	{TEXT("HotPink")             ,RGB(255,105,180)},
	{TEXT("IndianRed")           ,RGB(205, 92, 92)},
	{TEXT("Indigo")              ,RGB( 75,  0,130)},
	{TEXT("Ivory")               ,RGB(255,255,240)},
	{TEXT("Khaki")               ,RGB(240,230,140)},
	{TEXT("Lavender")            ,RGB(230,230,250)},
	{TEXT("LavenderBlush")       ,RGB(255,240,245)},
	{TEXT("Lawngreen")           ,RGB(124,252,  0)},
	{TEXT("LemonChiffon")        ,RGB(255,250,205)},
	{TEXT("LightBlue")           ,RGB(173,216,230)},
	{TEXT("LightCoral")          ,RGB(240,128,128)},
	{TEXT("LightCyan")           ,RGB(224,255,255)},
	{TEXT("LightGoldenRodYellow"),RGB(250,250,210)},
	{TEXT("LightGreen")          ,RGB(144,238,144)},
	{TEXT("LightGrey")           ,RGB(211,211,211)},
	{TEXT("LightPink")           ,RGB(255,182,193)},
	{TEXT("LightSalmon")         ,RGB(255,160,122)},
	{TEXT("LightSeaGreen")       ,RGB( 32,178,170)},
	{TEXT("LightSkyBlue")        ,RGB(135,206,250)},
	{TEXT("LightSlateGray")      ,RGB(119,136,153)},
	{TEXT("LightSteelBlue")      ,RGB(176,196,222)},
	{TEXT("LightYellow")         ,RGB(255,255,224)},
	{TEXT("Lime")                ,RGB(  0,255,  0)},
	{TEXT("LimeGreen")           ,RGB( 50,205, 50)},
	{TEXT("Linen")               ,RGB(250,240,230)},
	{TEXT("Magenta")             ,RGB(255,  0,255)},
	{TEXT("Maroon")              ,RGB(128,  0,  0)},
	{TEXT("MediumAquamarine")    ,RGB(102,205,170)},
	{TEXT("MediumBlue")          ,RGB(  0,  0,205)},
	{TEXT("MediumOrchid")        ,RGB(186, 85,211)},
	{TEXT("MediumPurple")        ,RGB(147,112,219)},
	{TEXT("MediumSeaGreen")      ,RGB( 60,179,113)},
	{TEXT("MediumSlateBlue")     ,RGB(123,104,238)},
	{TEXT("MediumSpringGreen")   ,RGB(  0,250,154)},
	{TEXT("MediumTurquoise")     ,RGB( 72,209,204)},
	{TEXT("MediumVioletRed")     ,RGB(199, 21,133)},
	{TEXT("MidnightBlue")        ,RGB( 25, 25,112)},
	{TEXT("MintCream")           ,RGB(245,255,250)},
	{TEXT("MistyRose")           ,RGB(255,228,225)},
	{TEXT("Moccasin")            ,RGB(255,228,181)},
	{TEXT("NavajoWhite")         ,RGB(255,222,173)},
	{TEXT("Navy")                ,RGB(  0,  0,128)},
	{TEXT("OldLace")             ,RGB(253,245,230)},
	{TEXT("Olive")               ,RGB(128,128,  0)},
	{TEXT("OliveDrab")           ,RGB(107,142, 35)},
	{TEXT("Orange")              ,RGB(255,165,  0)},
	{TEXT("OrangeRed")           ,RGB(255, 69,  0)},
	{TEXT("Orchid")              ,RGB(218,112,214)},
	{TEXT("PaleGoldenRod")       ,RGB(238,232,170)},
	{TEXT("PaleGreen")           ,RGB(152,251,152)},
	{TEXT("PaleTurquoise")       ,RGB(175,238,238)},
	{TEXT("PaleVioletRed")       ,RGB(219,112,147)},
	{TEXT("PapayaWhip")          ,RGB(255,239,213)},
	{TEXT("PeachPuff")           ,RGB(255,218,185)},
	{TEXT("Peru")                ,RGB(205,133, 63)},
	{TEXT("Pink")                ,RGB(255,192,203)},
	{TEXT("Plum")                ,RGB(221,160,221)},
	{TEXT("PowderBlue")          ,RGB(176,224,230)},
	{TEXT("Purple")              ,RGB(128,  0,128)},
	{TEXT("Red")                 ,RGB(255,  0,  0)},
	{TEXT("RosyBrown")           ,RGB(188,143,143)},
	{TEXT("RoyalBlue")           ,RGB( 65,105,225)},
	{TEXT("SaddleBrown")         ,RGB(139, 69, 19)},
	{TEXT("Salmon")              ,RGB(250,128,114)},
	{TEXT("SandyBrown")          ,RGB(244,164, 96)},
	{TEXT("SeaGreen")            ,RGB( 46,139, 87)},
	{TEXT("SeaShell")            ,RGB(255,245,238)},
	{TEXT("Sienna")              ,RGB(160, 82, 45)},
	{TEXT("Silver")              ,RGB(192,192,192)},
	{TEXT("SkyBlue")             ,RGB(135,206,235)},
	{TEXT("SlateBlue")           ,RGB(106, 90,205)},
	{TEXT("SlateGray")           ,RGB(112,128,144)},
	{TEXT("Snow")                ,RGB(255,250,250)},
	{TEXT("SpringGreen")         ,RGB(  0,255,127)},
	{TEXT("SteelBlue")           ,RGB( 70,130,180)},
	{TEXT("Tan")                 ,RGB(210,180,140)},
	{TEXT("Teal")                ,RGB(  0,128,128)},
	{TEXT("Thistle")             ,RGB(216,191,216)},
	{TEXT("Tomato")              ,RGB(255, 99, 71)},
	{TEXT("Turquoise")           ,RGB( 64,224,208)},
	{TEXT("Violet")              ,RGB(238,130,238)},
	{TEXT("Wheat")               ,RGB(245,222,179)},
	{TEXT("White")               ,RGB(255,255,255)},
	{TEXT("WhiteSmoke")          ,RGB(245,245,245)},
	{TEXT("Yellow")              ,RGB(255,255,  0)},
	{TEXT("YellowGreen")         ,RGB(139,205, 50)},
	{NULL,0}
};

LPTSTR ConvertFromHTMLCodes(LPTSTR szText);
